home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
110
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
1KB
Path: newshost.lanl.gov!tanmoy
From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
Newsgroups: comp.std.c
Subject: Re: Help, best way to compare doubles
Date: 15 Jan 1996 16:13:22 GMT
Organization: Los Alamos National Laboratory
Message-ID: <TANMOY.96Jan15091322@qcd.lanl.gov>
References: <4d1k09$aqq@mercury.IntNet.net> <4dbos6$o7q@umbc9.umbc.edu>
<4ddev4$1vg@stingray.mcnc.org>
NNTP-Posting-Host: qcd.lanl.gov
Mime-Version: 1.0
Content-Type: text
In-reply-to: coats@mcnc.org's message of 15 Jan 1996 11:48:52 GMT
--text follows this line--
In article <4ddev4$1vg@stingray.mcnc.org> coats@mcnc.org (Carlie
Coats) writes:
<snip>
or (equvalently, but in decently-efficient C):
...though undefined according to the ANSI C standard...
( t = a - b )*t < esquared * ( a*a + b*b + delta )
Cheers
Tanmmoy
--
tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
<http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]